home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / ISSUE15 / CPPCLASS / cpp32 / DELEVENT.H < prev   
Encoding:
C/C++ Source or Header  |  1996-04-09  |  289 b   |  15 lines

  1. #ifndef DelphiEvents_H
  2. #define DelphiEvents_H
  3.  
  4. typedef void _pascal (*TNotifyEvent)(
  5.                                                      const void *Sender,
  6.                                                      const void *thisPtr
  7.                                                  );
  8.  
  9. //a Delphi Method pointer contains the Self
  10. struct TEvent
  11.  {
  12.   TNotifyEvent Code;
  13.   void *Self;
  14. };
  15. #endif